import React, { memo,Component,useState } from 'react'
import { Image,Avatar,Button,Input,Modal,Table  } from 'antd';
import './index.less'
export default function ChangePassword(props) {
    const [isModalVisible, setIsModalVisible] = useState(props.isOpen);
    const handleOk = () => {
        setIsModalVisible(false);
      };
    
      const handleCancel = () => {
        setIsModalVisible(false);
      };
    return (
        <div>
        <Modal title="Basic Modal" visible={isModalVisible} onOk={handleOk} onCancel={handleCancel}>
        <p>Some contents...</p>
        <p>Some contents...</p>
        <p>Some contents...</p>
      </Modal></div>
    )
}